<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>denglu</title>
</head>
    <body>
        登录页面<br/>
        <form action="/login" method="post" >
            <input type="text" name="username">请输入登录名</input>
            <input type="password" name="password">请输入密码</input>
            <input type="submit" value="登录"/>
            <div th:text="${msg}"></div>
        </form>
    </body>
</html>